import deviceInfoDetailTpl from './deviceInfoDetail.html';
import deviceInfoDetailCtrl from './deviceInfoDetail.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('deviceInfoDetail', {
      parent: 'index',
      url: '/device/detail/:id',
      templateUrl: deviceInfoDetailTpl,
      controller: deviceInfoDetailCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
